/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */
#include "GlobalVariables.h"

namespace PQClient
{
	void GlobalVariables::setInt32(Int32VarId id,int32 value)
	{
		if(id>=0&&id<Int32_Var_Count){
			_int32Vars[id]=value;
		}else{
			assert(!"GlobalVarTable::setInt32");
		}

	}

	int32 GlobalVariables::getInt32(Int32VarId id)
	{
		if(id>=0&&id<Int32_Var_Count){
			return _int32Vars[id];
		}else{
			assert(!"GlobalVarTable::getInt32");
		}

		return 0;

	}

}

